html,body{ 
    width:800px;
      height:600px;
      margin: auto;
      
  }
#div1{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    background:rgb(240,240,240); 
    box-shadow:inset 0 3px 8px rgba(0,0,0,.24);
    border:5px solid rgb(240,240,240);
}

#div1 p{
  display: block;
  width: 50%;
  height: 5%;
  margin-left:30%;
  text-align: center;
  font:20px;
}
.p{
	 display: block;
     margin-top:20%; 
}

